/* eslint semi: ["error", "always"] */
import httpRequest from '../../utils/studioRequest'

export function run (params) {
  return httpRequest({
    url: httpRequest.adornUrl('/data-clone/execute'),
    method: 'post',
    data: params
  });
}

export function result (params) {
  return httpRequest({
    url: httpRequest.adornUrl('/trans/result'),
    method: 'get',
    params: httpRequest.adornParams(params, 'get')
  });
}
